<div id="div_backend_auth">
<div style="margin:10px;">

<div class="div_backend_auth_tit"> <?php
  echo phrase::__("Authentication"); ?>
</div> 
<div style="text-align:right;"> <?php
foreach ($this->langs as $key=>$lang) { ?>
  <a href="<?php echo helper::get_lang_url($key); ?>"> <?php
  echo $lang; ?>
  </a> <?php        
} ?>
</div>
<div>&nbsp;</div> 

<form method="post"><?php 
echo phrase::__("User name"); ?><br>
<input class="inp_backend_ath" onclick="this.value='';"
  name="user_name">
<div>&nbsp;</div> <?php 

echo phrase::__("Password"); ?><br>
<input class="inp_backend_ath" onclick="this.value='';" type="password"
  name="password">
<div>&nbsp;</div>

<img src="<?php echo helper::get_captcha_url(); ?>" style="height:20px;"><br>
<input class="inp_backend_ath" onclick="this.value='';"
  name="captcha">
<div>&nbsp;</div>

<div style="text-align:right;">
<button type="submit"><?php echo phrase::__("Sign in"); ?></button>
</div>
<div style="color:red; font-weight:bold; text-align:right;"> <?php
if (strlen($this->message)>0) 
  echo $this->message; ?>
</div>
</form>

</div>
</div>

<script>
open_dialog("div_backend_auth",400,300);
</script>

